/**
 * StringSplit.h
 *
 * Version: $Id: StringSplit.h 72 2011-12-10 12:07:13Z s8376@pjwstk.edu.pl $
 */

#ifndef STRINGSPLIT_H_
#define STRINGSPLIT_H_

#include <cstring>

class StringSplit
{
    private:
        char* m_string;
    public:
        StringSplit(char* a) :
            m_string(strdup(a))
        {
        }
        StringSplit(StringSplit& a) :
            m_string(strdup(a.m_string))
        {
        }
        ~StringSplit();
        char* show();
        void splitString(char*);
};

#endif /* STRINGSPLIT_H_ */
